a9117fc9cc96ff2930e6a93bd8176897985838dd,subprojects/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonParameters.java,DaemonParameters,getEffectiveJvmArgs,#,80
Before Change
}
public List<String> getEffectiveJvmArgs() {
return jvmOptions.getAllJvmArgsWithoutSystemProperties();
}
public List<String> getAllJvmArgs() {
After Change
}
public List<String> getEffectiveJvmArgs() {
List<String> jvmArgs = jvmOptions.getAllJvmArgsWithoutSystemProperties();
// GRADLE-2099 - forward on the default platform encoding to the daemon.
//
// The “file.encoding� system property is not part of the JVM standard, but both the
// Sun and IBM JVMs support this system property. We should at some point abstract this
// behind the Jvm class though.
//
// We also need a more sophisticated mechanism because the default charset of the client
// may not necessarily be the desired charset of the daemon.
jvmArgs.add(String.format("-Dfile.encoding=%s", Charset.defaultCharset().name()));
return jvmArgs;
}
public List<String> getAllJvmArgs() {